<div class="well">
    <div class="list-group-item">
    <h3>修改密码</h3>
    <hr>
    <form class="form-horizontal" role="form" method="post" action="{% url 'userinfo' 'pwd' %}">
        {% csrf_token %}
        <div class="form-group ">
            <div class="input-group col-sm-offset-1 col-sm-10">
                <span class="input-group-addon">用户</span>
                <input type="text" class="form-control" placeholder="请输入用户名" name="username">
            </div>

        </div>
        <div class="form-group ">
            <div class="input-group col-sm-offset-1 col-sm-10">
                <span class="input-group-addon">密码</span>
                <input type="password" class="form-control" id="lastname"
                       placeholder="请输入原密码" name="old_pwd">
            </div>

        </div>
        <div class="form-group ">
            <div class="input-group col-sm-offset-1 col-sm-10">
                <span class="input-group-addon">密码</span>
                <input type="password" class="form-control" id="lastname"
                       placeholder="请输入新密码" name="pwd">
            </div>

        </div>
        <div class="form-group ">
            <div class="input-group col-sm-offset-1 col-sm-10">
                <span class="input-group-addon">密码</span>
                <input type="password" class="form-control" id="lastname"
                       placeholder="请确认新密码" name="pwd_cf">
            </div>

        </div>

        <div class="form-group">
            <div class="col-sm-12">
                <button type="submit" class="btn btn-primary
                btn-md btn-default col-md-offset-10">提交修改</button>
            </div>
        </div>
    </form>
        </div>
</div>